package com.example.android_mvp_one.di.modules;


import com.example.android_mvp_one.mvp.control.LreControl;
import com.example.android_mvp_one.mvp.model.LreModel;
import com.jess.arms.di.scope.ActivityScope;

import dagger.Module;
import dagger.Provides;

@Module
public class LreModules {

    private LreControl.LruControlView view;

    public LreModules(LreControl.LruControlView view) {
        this.view = view;
    }

    @ActivityScope
    @Provides
    LreControl.LruControlView providesView() {
        return view;
    }

    @ActivityScope
    @Provides
    LreControl.LruControlModel providesModel(LreModel model) {
        return model;
    }



}
